/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: HP
 * Date: 2023 -05 -15
 * Time: 15:56
 */
public class Main {
    public static void main(String[] args) {
        Triangle t = new Triangle();
        try {
            t.setTriangle(5, 6, 7);
            t.setTriangle(5, 6, 1);
        } catch (InvalidTriangleException e) {
            System.out.println(e);
        }
    }
}